<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post">
{% csrf_token %}
    学生姓名: <input type="text" name="name" value="{{ s.name }}"><br>
    假条事由: <input type="text" name="reason" value="{{ s.reson }}"><br>
    请假时间: <input type="time" name="state" value="{{ s.state }}"><br>
    请假类型: <select name="stype" value="{{ s.stype }}">
    {% for i in t %}
        <option value="{{ i.id }}">{{ i.tname }}</option>
    {% endfor %}

</select><br>
    <input type="submit" value="通过">
</form>
</body>
</html>